using UnityEngine;
using UnityEngine.SceneManagement;

public class WeaponInterfaceChanger : MonoBehaviour
{
	protected PlayerBehavior playerBehavior;

	protected bool IsMinePlayer()
	{
		if (SceneManager.GetActiveScene().name == "Lobby")
		{
			return false;
		}
		playerBehavior = GetComponentInParent<PlayerBehavior>();
		return playerBehavior != null && playerBehavior == GameController.instance.playerScript;
	}
}
